{% extends "conversation_base.html" %}

{% block content %}
<div class="container mt-4">
    <div class="card shadow">
        <div class="card-header bg-primary text-white">
            <h4 class="mb-0">发起新对话</h4>
        </div>
        <div class="card-body">
            <form method="post">
                {% csrf_token %}
                <div class="mb-3">
                    <label class="form-label">收件人</label>
                    {{ form.recipient }}
                </div>
                <div class="mb-3">
                    <label class="form-label">消息内容</label>
                    {{ form.content }}
                </div>
                <button type="submit" class="btn btn-primary">
                    <i class="bi bi-send"></i> 发送
                </button>
            </form>
        </div>
    </div>
</div>
{% endblock %}